import 'package:flutter/material.dart';

class CommonCheckButton extends StatelessWidget {
  final bool isChecked;

  const CommonCheckButton(
      this.isChecked, {
        Key? key,
      }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return isChecked
        ? const Icon(
      Icons.check_circle,
      color: Colors.teal,
    )
        : const Icon(
      Icons.radio_button_unchecked,
      color: Colors.teal,
    );
  }
}
